package lib.bone.common.utils;

import cn.dev33.satoken.stp.StpUtil;

/**
 * @Author : kindear
 * @Date : 2021-12-13
 */
@Deprecated
public class SecurityUtil {
    public boolean isAdmin(){
        Long userId = StpUtil.getLoginIdAsLong();
        if(userId.equals(1L)) return true;
        return false;
    }
}
